class Super{

}

class Sub extends Super{
	
}
public class ObjCast{
	public static void main(String[] args){
		Super s = new Sub();
		Sub sub = s.getClass().asSubclass(s) ;
		System.out.println(sub);
	}

}
